package com.dqp.cslggroup.Util;

import android.content.Context;

import com.dqp.cslggroup.UI.MyApplication;


public class dateUtil {

    public static void deletData(Context context) {
        SharedPreferencesUtil.removeSp(context,"remember_vpnJWXT_autologin");
        SharedPreferencesUtil.removeSp(context,"remember_TSGXT_autologin");
        SharedPreferencesUtil.removeSp(context,"remember_JWXT_autologin");
        SharedPreferencesUtil.removeSp(context,"me_course_name");
        SharedPreferencesUtil.removeSp(context,"ta_course_name");
        SharedPreferencesUtil.removeSp(context,"ta_course_name");
        SharedPreferencesUtil.removeSp(context,"me_course_bg");
        SharedPreferencesUtil.removeSp(context,"show_kao");
        SharedPreferencesUtil.removeSp(context,"bg_path");
        SharedPreferencesUtil.removeSp(context,"blur");
        SharedPreferencesUtil.removeSp(context,"room");
        SharedPreferencesUtil.removeSp(context,"donS");
        SharedPreferencesUtil.removeSp(context,"sshS");
        SharedPreferencesUtil.removeSp(context,"xq");
        SharedPreferencesUtil.removeSp(context,"userid");
        MyApplication.getDaoInstant().getAvatarDao().deleteAll();
        MyApplication.getDaoInstant().getStudentDao().deleteAll();
        MyApplication.getDaoInstant().getCourseDao().deleteAll();
        MyApplication.getDaoInstant().getAcademicDao().loadAll();
        MyApplication.getDaoInstant().getExamDao().deleteAll();
        MyApplication.getDaoInstant().getEventDao().deleteAll();
        MyApplication.getDaoInstant().getNoteDao().deleteAll();
        MyApplication.getDaoInstant().getRoomElectricityDao().deleteAll();
    }
}
